"use strict";
cc._RF.push(module, '330b0hJGpNHcaYgvFq2/4vv', 'RaycastController');
// scripts/RaycastController.js

"use strict";

var e = require;
var t = module;
cc.Class({
  "extends": cc.Component,
  properties: {},
  onLoad: function onLoad() {
    this.node.on(cc.Node.EventType.TOUCH_START, LevelManager.Instance.onRaycastTouchDown, LevelManager.Instance, !0);
    this.node.on(cc.Node.EventType.TOUCH_END, LevelManager.Instance.onRaycastTouchUp, LevelManager.Instance, !0);
    this.node.on(cc.Node.EventType.TOUCH_CANCEL, LevelManager.Instance.onRaycastTouchUp, LevelManager.Instance, !0);
  },
  onDestroy: function onDestroy() {
    this.node.off(cc.Node.EventType.TOUCH_START, LevelManager.Instance.onRaycastTouchDown, LevelManager.Instance, !0);
    this.node.off(cc.Node.EventType.TOUCH_END, LevelManager.Instance.onRaycastTouchUp, LevelManager.Instance, !0);
    this.node.off(cc.Node.EventType.TOUCH_CANCEL, LevelManager.Instance.onRaycastTouchUp, LevelManager.Instance, !0);
  }
});

cc._RF.pop();